package com.huynhchihieu.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.huynhchihieu.dao.JobDAO;
import com.huynhchihieu.domain.Job;

@Service(value="jobServiceImpl")
@Transactional
public class JobServiceImpl implements JobService{

	@Autowired
	JobDAO jobDAO;
	public void addJob(Job job) {
		jobDAO.addJob(job);
	}
	public JobDAO getJobDAO() {
		return jobDAO;
	}
	public void setJobDAO(JobDAO jobDAO) {
		this.jobDAO = jobDAO;
	}
	
}
